package 设计模式.结构模式.装饰模式;

/**
 * @author MT
 * @date 2019-11-13 17:59
 */
public class Decorator implements Component {

    private Component component;

    public Decorator(Component component) {
        this.component = component;
    }

    @Override
    public void operation() {
        component.operation();
    }
}
